<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="sh" uri="http://struts.apache.org/tags-html" %>
<%@ taglib prefix="sb" uri="http://struts.apache.org/tags-bean" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>欢迎页</title>
</head>
<body>
	Header:${header['Cookie']}<br/>
	
	<%
		Object user=session.getAttribute("User");
		if(null==user){
	%>
		您还没有登陆,点击这里登陆
		<sh:link page="/page/Login.jsp" >登陆</sh:link>
	<%}else{%>
		当前登陆名：${User.userName }，<sh:link action="/login/LogoutAction">退出</sh:link>
	<%} %>
</body>
</html>